package ipebg.mzk.facade.system.service;

import ipebg.mzk.facade.entity.LogMongo;

import java.util.List;

import org.springframework.data.mongodb.core.query.Query;
import org.springframework.data.mongodb.core.query.Update;


public interface LogService {

	void save(LogMongo logInstance) throws Exception;
	void deleteByQuery(String key, Object value) throws Exception; 
	Long getCount(String key, Object value)throws Exception;
	List<LogMongo> getPage(Query query, int start, int size)throws Exception;
	void updateMulti(Query query, Update update)throws Exception;
	void updateFirst(Query query,Update update)throws Exception;
}
